<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // window.onload = function() {
        //     alert('abc');
        // }
        // window.onload = () => {
        //     alert('abc');
        // } 

        // let show = function() {
        //     alert('abc');
        // }
        // show();

        let show = () => {
            alert('abc');
        }
        show();

        let arr = [12, 5, 8, 99, 14, 26];
        arr.sort((n1, n2) => {
            return n1 - n2;
        })
        alert(arr);
    </script>
</body>

</html>